
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
    <link type="text/css" rel="stylesheet" href="../css/common.css">
</head>

<body>
    <h1>MEngine</h1>
    <p>文档与样例代码</p>
    <hr />
    <ul class="home">
        <li onclick="jumpTo('bundleDemoHelloWorld')">Hello World</li>
        <li onclick="jumpTo('bundleDemoIntroduction')">项目介绍与实现原理</li>
        <li onclick="jumpTo('bundleDemoConfig')">目录结构与配置文件config.json</li>
        <li onclick="jumpTo('bundleDemoCommunication')">Web页面与app.js相互通信</li>
        <li onclick="jumpTo('bundleDemoLife')">bundle生命周期回调</li>
        <li onclick="jumpTo('bundleDemoJump')">页面跳转</li>
        <li onclick="jumpTo('bundleDemoHttp')">app.js发起Http请求</li>
        <li onclick="jumpTo('bundleDemoRefresh')">使用Native下拉刷新控件</li>
        <li onclick="jumpTo('bundleDemoCommonJs')">app.js加载自定义通用js</li>
        <li onclick="jumpTo('bundleDemoGlobalVar')">全局共享数据</li>
        <li onclick="jumpTo('bundleDemoDB')">数据库读/写</li>
        <li onclick="jumpTo('bundleDemoWebUrl')">打开外部url页面</li>

    </ul>
</body>
<script>
function jumpTo(target) {
    sendToApp(target);
}
</script>